package com.djl.zenithbite.repository;

import com.djl.zenithbite.entity.UserReview;
import com.djl.zenithbite.entity.UserReviewExample;
import com.djl.zenithbite.entity.UserReviewWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserReviewMapper {
    int countByExample(UserReviewExample example);

    int deleteByExample(UserReviewExample example);

    int deleteByPrimaryKey(Integer reviewId);

    int insert(UserReviewWithBLOBs record);

    int insertSelective(UserReviewWithBLOBs record);

    List<UserReviewWithBLOBs> selectByExampleWithBLOBs(UserReviewExample example);

    List<UserReview> selectByExample(UserReviewExample example);

    UserReviewWithBLOBs selectByPrimaryKey(Integer reviewId);

    int updateByExampleSelective(@Param("record") UserReviewWithBLOBs record, @Param("example") UserReviewExample example);

    int updateByExampleWithBLOBs(@Param("record") UserReviewWithBLOBs record, @Param("example") UserReviewExample example);

    int updateByExample(@Param("record") UserReview record, @Param("example") UserReviewExample example);

    int updateByPrimaryKeySelective(UserReviewWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(UserReviewWithBLOBs record);

    int updateByPrimaryKey(UserReview record);
}